package com.bbcare.comm;

/**
 * @name: 常量定义类
 * @author: DemonLee
 * @createTime: 2017.4.13
 * @description: 系统常量，业务常量等定义
 * @modify:
 * 
 */
public class Constants {
    // 分隔符定义
    public static final String dot = ".";
    public static final String SPLIT_STR = "※";
    public static final String BILL_SPLIT_STR = "|";
    public static final String COMMA_SPLIT_STR = ",";
    public static final String QRY_SPLIT_STR = ":※:";
    public static final char L_BRACE_CHAR = '{';
    public static final char R_BRACE_CHAR = '}';
    public static final String L_BRACE_STR = "[{";
    public static final String R_BRACE_STR = "}]";
    public static final String UNDER_LINE_SPLIT_STR = "_";
    public static final String COLON_SPLIT_STR = ":";
    public static final String L_MID_STR = "[";
    public static final String R_MID_STR = "]";
    public static final String SLASH_STR = "/";
    public static final String BACKSLASH_STR = "\\\\";

    // 数学运算符定义
    public static final String PLUS_CHAR = "+";
    public static final String SUBTRACT_CHAR = "-";
    public static final String MULTI_CHAR = "*";
    public static final String DIVI_CHAR = "/";

    // sql关键字定义
    public static final String EXPR_IN_STR = "in";
    public static final String EXPR_BETWEEN_STR = "between";
    public static final String EXPR_LIMIT_STR = "limit";

    // 操作更新类型
    public static final String UPDATE_TYPE_INSERT = "I";// 插入
    public static final String UPDATE_TYPE_DELETE = "D";// 删除
    public static final String UPDATE_TYPE_UPDATE_U = "U";// 更新前
    public static final String UPDATE_TYPE_UPDATE_X = "X";// 更新后

    // 入参节点定义
    public static final String INF_INPUTPARAM_COMMONFIELD = "data";// 服务入参根节点：data
    public static final String INF_INPUTPARAM_OPRINFO_FIELD = "oprInfo";// 服务入参操作信息节点：oprInfo
    public static final String INF_INPUTPARAM_DATATABLE_FIELD = "args";// Datatable表格入参：args

    // 方案相关常量定义
    /*
     * 未应用方案只能使用该方案上一个版本， 若无上一个版本，即当前版本为第一个版本，则该方案禁止应用到队列中， 最新版本号为1的方案即为新方案
     */
    public static final String SCHEME_STATUS_DRAFT = "0";// 草稿（未应用）方案
    public static final String SCHEME_STATUS_NORMAL = "1";// 正常方案
    public static final String SCHEME_STATUS_DELETE = "2";// 已删除方案

    public static final String SCHEME_TYPE_PRIVATE = "0";// 个人私有方案
    public static final String SCHEME_TYPE_TENANT = "1";// 租户私有方案
    public static final String SCHEME_TYPE_PUBLIC = "2";// 公共方案

    public static final int SCHEME_INIT_VERSION = 0; // 方案初始版本值(0版本无法应用到队列中)
    public static final int SCHEME_FIRST_VERSION = 1;// 方案第1版本

    public static final int SCHEME_BUSI_TYPE_0 = 0; // 0:科研随访方案
    public static final int SCHEME_BUSI_TYPE_1 = 1; // 1:门诊诊疗方案

    public static final int QUEUE_DEFAULT_SCHEME_SEQ_NO = 0;// 队列下某个方案类型下的默认方案

    // 任务执行类型方式
    public static final String SCHEME_TASK_EXECUTE_TYPE_0 = "0"; // 0：应用后触发
    public static final String SCHEME_TASK_EXECUTE_TYPE_1 = "1"; // 1：纠正年龄触发
    public static final String SCHEME_TASK_EXECUTE_TYPE_2 = "2"; // 2：出生年龄触发
    public static final String SCHEME_TASK_EXECUTE_TYPE_3 = "3"; // 3：出院后触发
    public static final String SCHEME_TASK_EXECUTE_TYPE_4 = "4"; // 4：初检孕周日期触发（孕产妇随访）

    // 任务类型
    public static final String TASK_TYPE_SCHEME_SCHEDULE = "0";// 0：门诊任务
    public static final String TASK_TYPE_SCHEME_TEMP = "1"; // 1：线上问卷任务
    public static final String TASK_TYPE_NONSCHEME_REALTIME = "2"; // 2：线上主诉登记任务

    // 主诉登记任务规则类型
    public static final String TASK_TYPE_SCHEME_SELFREPORT_COMMON = "0";// 0：通用任务内容，整个周期内都是相同的问卷
    public static final String TASK_TYPE_SCHEME_SELFREPORT_MONTHAGE = "1";// 1：纠正月龄规则，每个月龄的主诉登记内容不相同

    // 任务序号
    public static final int TASK_SEQ_FOR_INIT = 0;// 患者建档任务序号
    public static final int TASK_SEQ_FOR_FIRST = 1;// 患者线上随访或线上主诉登记第一个任务序号

    // 临时随访
    public static final String TASK_NAME_INTRO_FOR_TMP_TASK = "临时随访";
    public static final int TASK_EXECUTEDAY_FOR_TEMP_TASK = 0;// 执行天数
    public static final int TASK_WARNDAY_FOR_TEMP_TASK = 0;// 警戒期天数
    public static final int TASK_WINDOWDAY_FOR_TEMP_TASK = 0;// 窗口期天数

    // 队列相关常量定义
    public static final String QUEUE_STATUS_NOMAL = "1";// 队列状态正常
    public static final String QUEUE_STATUS_DELETE = "0";// 队列已被删除

    public static final String QUEUE_TYPE_PRIVATE = "0";// 个人私有队列
    public static final String QUEUE_TYPE_TENANT = "1";// 租户私有队列
    public static final String QUEUE_TYPE_PUBLIC = "2";// 公共队列

    public static final int QUEUE_TARGET_NUM_INFINITE = -1;// 队列目标人数不设上限，可以任意添加患者

    // 患者队列信息相关常量定义
    public static final String PATIENT_QUEUESCHEME_USER_STATUS_NOMAL = "1";// 正常
    public static final String PATIENT_QUEUESCHEME_USER_STATUS_DELETE = "0";// 失效（删除）
    public static final String PATIENT_QUEUESCHEME_USER_STATUS_SUSPEND = "2";// 暂停
    public static final String PATIENT_QUEUESCHEME_USER_STATUS_TRANSFER = "3";// 转移
    public static final String PATIENT_QUEUESCHEME_USER_STATUS_AUDIT = "4";// 待审核
    public static final String PATIENT_QUEUESCHEME_USER_STATUS_NOTPASS = "5";// 审核不通过

    public static final String PATIENT_TASK_STATUS_INIT = "0";// 任务未开始
    public static final String PATIENT_TASK_STATUS_FINISH = "1";// 任务已完成
    public static final String PATIENT_TASK_STATUS_EXPIRED = "2";// 任务已过期（未完成）

    // 队列医生角色
    public static final String QUEUE_DOCTOR_ADMIN = "01";// 管理员
    public static final String QUEUE_DOCTOR_COMMON = "02";// 管理医生
    public static final String QUEUE_DOCTOR_ASSISTANT = "03";// 助理

    // 孕周相关常量定义
    public static final int PREGNANCY_CALC_UNIT_WEEK = 7;// 一周7天
    public static final int YEAR_DAY = 365;// 一年365天
    public static final int MONTH_DAY = 30;// 一月30天

    // 队列患者 暂停 恢复 操作码
    public static final String PATIENT_QUEUE_OPCODE_SUSPEND = "0";// 暂停
    public static final String PATIENT_QUEUE_OPCODE_RECOVERY = "1";// 恢复

    // 操作类型
    public static final String OPCODE_ADD = "1";
    public static final String OPCODE_UPLOAD = "4";
    public static final String OPCODE_DELETE = "2";
    public static final String OPCODE_MODIFY = "3";

    // 操作人 类型 患者、医生
    public static final String OPCODE_TYPE_DOCTOR = "0";
    public static final String OPCODE_TYPE_PATIENT = "1";
    public static final String OPCODE_TYPE_BG_ADMIN = "2";

    // 操作类型op_type
    public static final String OP_TYPE_SELF = "1";// 患者自助
    public static final String OP_TYPE_DOOR = "2";// 门诊
    public static final String OP_TYPE_DOCTOR = "3";// 医生自助管理方案等
    public static final String OP_TYPE_QUEUE = "4";// 患者队列
    public static final String OP_TYPE_BG_ADMIN = "5";// 后台程序自动处理

    // 活跃 业务类型（对应bs_static_param.type=1005）
    public static final String PATIENT_ACTIVE_BUSI_TYPE_1 = "1";// 1 家族病史
    public static final String PATIENT_ACTIVE_BUSI_TYPE_2 = "2";// 2 个人病史
    public static final String PATIENT_ACTIVE_BUSI_TYPE_3 = "3";// 3 病理异常
    public static final String PATIENT_ACTIVE_BUSI_TYPE_4 = "4";// 4 体检异常
    public static final String PATIENT_ACTIVE_BUSI_TYPE_5 = "5";// 5 家庭评估
    public static final String PATIENT_ACTIVE_BUSI_TYPE_6 = "6";// 6 监测数据
    public static final String PATIENT_ACTIVE_BUSI_TYPE_7 = "7";// 7 患者建档
    public static final String PATIENT_ACTIVE_BUSI_TYPE_8 = "8";// 8 线上随访
    public static final String PATIENT_ACTIVE_BUSI_TYPE_9 = "9";// 9 门诊随访
    public static final String PATIENT_ACTIVE_BUSI_TYPE_11 = "11";// 11 队列患者管理
    public static final String PATIENT_ACTIVE_BUSI_TYPE_13 = "13";// 13 评估量表(问卷）
    public static final String PATIENT_ACTIVE_BUSI_TYPE_14 = "14";// 14 影像标记
    // 10 医生管理（方案管理，失访管理等等）
    public static final String DOCTOR_ACTIVE_BUSI_TYPE_10 = "10";
    // 12 医生排班设置
    public static final String DOCTOR_ACTIVE_OUT_PATIENT_SCHEDULE_BUSI_TYPE_12 = "12";
    // 21 后台进程更新
    public static final String DOCTOR_ACTIVE_BUSI_TYPE_21 = "21";

    // app端患者登陆 退出
    public static final String PATIENT_ACTIVE_APP_LOGIN = "22";

    public static final String PATIENT_AUDIT_PASS = "0";
    public static final String PATIENT_AUDIT_NOTPASS = "1";

    // redis数据库分区使用（select index [0,1,...,15]）
    public static final int REDIS_DB_INDEX_PATIENT = 1;// 患者相关使用分区1
    public static final int REDIS_DB_INDEX_CONFIG = 2;// 配置表相关使用分区2
    public static final int REDIS_DB_INDEX_EVALUATION = 3;// 评估数据使用分区
    public static final int REDIS_DB_INDEX_EVALUATION_1 = 0;// 1.0评估数据使用分区
    public static final int REDIS_DB_INDEX_NUTRITIOUS = 4;// 营养方案数据使用分区

    // redis统计指标相关常量（如前缀，日周月年等）
    public static final String REDIS_DATA_DAY = "day";// 按天统计
    public static final String REDIS_DATA_WEEK = "week";// 按周统计
    public static final String REDIS_DATA_MONTH = "month"; // 按月统计
    public static final String REDIS_DATA_YEAR = "year";// 按年统计
    public static final String REDIS_DATA_TOTAL = "total";// 总数

    public static final String PATIENT_DAY_ADD_BY_QUEUE_KEY = "ptQuDay"; // 按天统计队列新增患者数key
    public static final String PATIENT_TOTAL_ADD_BY_QUEUE_KEY = "ptQuToal"; // 统计队列新增患者总数key
    public static final String PATIENT_DAY_ADD_BY_AUTHOR_KEY = "ptAuDay"; // 按天统计登录账户新增患者数key
    public static final String PATIENT_TOTAL_ADD_BY_AUTHOR_KEY = "ptAuToal"; // 统计登录账户新增患者总数key
    public static final String PATIENT_DAY_ADD_BY_TENANT_KEY = "ptTeDay"; // 按天统计租户id新增患者数key
    public static final String PATIENT_TOTAL_ADD_BY_TENANT_KEY = "ptTeToal"; // 统计租户id新增患者总数key
    public static final String DOOR_PT_DAY_ADD_BY_AUTHOR_KEY = "ptAuDoorAddDay";// 按天统计登录账户门诊患者数key
    public static final String DOOR_PT_TOTAL_ADD_BY_AUTHOR_KEY = "ptAuDoorAddTotal";// 统计登录账户门诊患者总数key
    public static final String PT_DAY_LOST_BY_AUTHOR_KEY = "ptAuLostDay";// 按天统计登录账户失访患者数key
    public static final String PT_TOTAL_LOST_BY_AUTHOR_KEY = "ptAuLostTotal";// 统计登录账户失访患者总数key
    public static final String PT_TOTAL_WINDOW_BY_AUTHOR_KEY = "ptAuWindowTotal";// 统计登录账户随访期总数量key
    public static final String REDIS_KEY_FOR_QUEUE_OUTPATIENT_TODAY = "queueOutPt";// 队列今日门诊记录

    public static final String CONFIG_BS_STATIC_PARAM_PREFIX_PV = "bs_static_param:paramValue"; // bs_static_param表存储paramValue对应redis-key前缀
    public static final String CONFIG_BS_STATIC_PARAM_PREFIX_PN = "bs_static_param:paramName"; // bs_static_param表存储paramName对应redis-key前缀
    public static final String CONFIG_FU_QUEUE_INFO_PREFIX_QNAME = "fu_queue_info:qname"; // fu_queue_info表存储queueName对应redis-key前缀
    public static final String CONFIG_FU_SCHEME_INFO_PREFIX_SNAME = "fu_scheme_info:sname"; // fu_scheme_info表存储schemeName对应redis-key前缀
    public static final String CONFIG_FU_LOSTREASON_PREFIX_SNAME = "fu_lostreason_dict:rname"; // fu_lostreason_dict表存储reasonName对应redis-key前缀

    // 生长发育标准数据1
    public static final String GROWTH_KEY_LENGTH = "GROWTH:WHO_KEY_LENGTH_";
    public static final String GROWTH_KEY_WEIGHT = "GROWTH:WHO_KEY_WEIGHT_";
    public static final String GROWTH_KEY_HEAD = "GROWTH:WHO_KEY_HEAD_";
    public static final String GROWTH_KEY_WEIGHT_FOR_LENGTH = "GROWTH:WHO_KEY_WEIGHT_FOR_LENGTH_";
    public static final String GROWTH_KEY_BMI = "GROWTH:WHO_KEY_BMI_";

    // AIMS得分百分位曲线 redis
    public static final String AIMS_STANDARD_KEY = "AIMS:STANDARD_";

    // FENTON生长发育数据
    public static final String FENTON_KEY_LENGTH = "FENTON:WHO_KEY_LENGTH_";
    public static final String FENTON_KEY_WEIGHT = "FENTON:WHO_KEY_WEIGHT_";
    public static final String FENTON_KEY_HEAD = "FENTON:WHO_KEY_HEAD_";
    // 相关表名定义
    public static final String TABLE_BS_STATIC_PARAM = "bs_static_param";// 系统静态参数表
    public static final String TABLE_FU_QUEUE_INFO = "fu_queue_info";// 队列信息表
    public static final String TABLE_FU_SCHEME_INFO = "fu_scheme_info";// 方案配置信息表

    // 操作类型定义（对应bs_static_param.type）
    public static final String BUSI_OP_CODE_TYPE = "1000";// 操作编码类型
    public static final String DOCTOR_TITLE_TYPE_CODE = "1001";// 医师职称类型编码
    public static final String EDUCATION_TYPE_CODE = "1002";// 宣教类型编码
    public static final String SCHEDULE_TYPE_CODE = "1003";// 门诊类型编码
    public static final String QUEUE_DOCTOR_ROLE_TYPE_CODE = "1004";// 队列医生角色
    public static final String QUEUE_BUSI_TYPE_CODE = "1005";// 队列医生角色
    public static final String CONTENT_DATA_TYPE = "1006";// 问卷内容中的问题(研究编号)id对应编码类型
    public static final String DOCTOR_TYPE_ODE = "1007";// 问卷内容中的问题(研究编号)id对应编码类型
    public static final String EDUCATION_PUSH_TYPE_CODE = "1008";// 宣教推送类型
    public static final String FU_ASSESS_CONTTEMPL_TYPE = "1009";// 随访评估量表类型
    public static final String PT_BIOLOGY_SAMPLE_TYPE = "1010";// 生物样本采集类型

    // 操作编码定义（对应bs_static_param.op_code）
    public static final String OP_CODE_1000 = "1000";// 患者建档
    public static final String OP_CODE_1001 = "1001";// 医生门诊随访录入

    public static final String OP_CODE_1005 = "1005";// 队列患者暂停
    public static final String OP_CODE_1004 = "1004";// 队列患者转移
    public static final String OP_CODE_1006 = "1006";// 队列患者恢复

    public static final String OP_CODE_1007 = "1007";// 患者上传体温监测数据
    public static final String OP_CODE_1008 = "1008";// h患者上传氧饱脉率监测数据
    public static final String OP_CODE_1011 = "1011";// h患者上传生长发育监测数据
    public static final String OP_CODE_1012 = "1012";// h患者上传SDQ测评

    public static final String OP_CODE_1112 = "1112"; // 智能发育
    public static final String OP_CODE_1113 = "1113"; // 养育环境
    public static final String OP_CODE_1114 = "1114";// 母乳喂养 一妇婴

    public static final String OP_CODE_1009 = "1009";// 患者自助填写主诉信息

    public static final String OP_CODE_3001 = "3001";// 后台更新过期未完成任务
    public static final String OP_CODE_3002 = "3002";// 后台为窗口期患者发送随访提醒短信

    public static final String OP_CODE_1016 = "1016";// 患者登陆

    // bs_static_param dept_id字段 默认为科室ID 如果配置0 则表示系统默认配置数据
    public static final String SYSTEM_CODE_TYPE = "0";// 系统默认配置数据类型

    public static final String EDUCATION_TOP_STATUS = "0";// 置顶状态
    public static final String EDUCATION_NOT_TOP_STATUS = "1";// 非置顶状态

    // 序列号前缀常量定义，用来区分不同的业务
    public static final String SEQ_NO_FOR_SCHEMEID = "10";// 10：方案id前缀
    public static final String SEQ_NO_FOR_SCHEMEVERSIONID = "11";// 11：方案版本id前缀
    public static final String SEQ_NO_FOR_QUEUEID = "12";// 12：队列id前缀
    public static final String SEQ_NO_FOR_TASKID = "13";// 13：任务id前缀
    public static final String SEQ_NO_FOR_USERID = "14";// 14：用户id前缀
    public static final String SEQ_NO_FOR_PTSCHEMEID = "15";// 15：用户队列实例id前缀
    public static final String SEQ_NO_FOR_PTTASKID = "16";// 16：患者任务id前缀
    public static final String SEQ_NO_FOR_PTTASK_CONTID = "17";// 17：患者任务内容id前缀
    public static final String SEQ_NO_FOR_PTTASK_CONTDATAID = "18";// 18：患者任务内容答案id前缀
    public static final String SEQ_NO_FOR_PT_ACCOUNTID = "19";// 19：患者账号id前缀
    public static final String SEQ_NO_FOR_OUTPATIENT_SCHEDULE = "20";// 20：门诊排班id前缀
    public static final String SEQ_NO_FOR_LOST_REASONID = "21";// 21：失访原因id前缀
    public static final String SEQ_NO_FOR_PT_LOST_ID = "22";// 22：失访患者实例id前缀
    public static final String SEQ_NO_FOR_PT_SMS_RD_ID = "23";// 23：短信发送流水表id前缀
    public static final String SEQ_NO_FOR_PT_EXCP_RD_ID = "24";// 24：异常记录表id前缀
    public static final String SEQ_NO_FOR_TASK_CONTID = "25";// 25：模板任务内容id前缀
    public static final String SEQ_NO_FOR_PT_QUEUEEXTEND_ID = "26";// 26：队列实例扩展表id前缀
    public static final String SEQ_NO_FOR_SYSTEMID = "00";// 00：其他取系统流水的id前缀
    public static final String SEQ_NO_FOR_IMG_EQUIP_ID = "41";// 41：设备id前缀
    public static final String SEQ_NO_FOR_IMG_EQUIPCLASS_ASSOCI_ID = "42";// 42：租户下设备分类关联id前缀
    public static final String SEQ_NO_FOR_IMG_ID = "43";// 43：影像文件id前缀
    public static final String SEQ_NO_FOR_IMG_NAME_ID = "44";// 44：影像文件名称前缀
    public static final String SEQ_NO_FOR_IMG_DATA_ID = "45";// 45：影像文件扩展信息id前缀
    public static final String SEQ_NO_FOR_IMG_MARK_ID = "46";// 46：影像文件标记记录id前缀
    public static final String SEQ_NO_FOR_IMG_MARKDATA_ID = "47";// 47：影像文件标记记录详情id前缀

    // 后台程序处理的工号
    public static final String BG_LOGIN_NO_ADMIN = "fuadmin";
    public static final String BG_LOGIN_NO_ADMIN_FOR_IMG = "imgAdmin";// 影像文件系统后台管理员

    // 服务类型encode
    public static final String PRODUCTITEM_TYPE_ONLINE_CONSULT = "zxzx";//
    public static final String PRODUCTITEM_TYPE_PHONE_CONSULT = "dhzx";//
    public static final String PRODUCTITEM_TYPE_DATA_INTERPRETAION = "sjjd";//

    // 标准孕周天数：40*7=280
    public static final int PATIENT_NORMAL_PREGNANT_DAY = 280;
    // 早产儿孕周天数：<37*7
    public static final int PATIENT_PREMATURE_PREGNANT_DAY = 259;

    // 问卷相关
    public static final String QUESTION_ID_FOR_PHONENO = "Pub1100001";// 手机号码问题id
    public static final String QUESTION_ID_FOR_PATIENTNAME = "Pub1100002";// 患者姓名问题id
    public static final String QUESTION_ID_FOR_GENDER = "Pub1100003";// 性别问题id
    public static final String QUESTION_ID_FOR_BIRTHDAY = "Pub1100004";// 出生日期问题id
    public static final String QUESTION_ID_FOR_EXPECTEDDAY = "Pub1100005";// 预产期问题id
    public static final String QUESTION_ID_FOR_PREGNANCYDAY = "Pub1100006";// 孕周天问题id
    public static final String QUESTION_ID_FOR_PREGNANCT_NO = "Pub12x00007";// (科研编号2)孕产号问题id
    public static final String QUESTION_ID_FOR_INPATIENT_NO = "Pub12x00008";// （科研编号3）住院号问题id
    public static final String QUESTION_ID_FOR_RESEARCH_ID = "341200007";// 科研编号1（如门诊号）
    public static final String QUESTION_ID_FOR_PREGNANCY_FIRST_WEEK = "Pub12x00009";// 初检孕周问题id
    public static final String QUESTION_ID_FOR_OMS_TASKRECORD_NAME = "Pub12x00010";// 门诊（随访）记录（任务）名称
    public static final String QUESTION_ID_FOR_OMS_TASKRECORD_DATE = "Pub12x00011";// 门诊（随访）检查（手术、评估）日期

    public static final String QUESTION_ID_FOR_CONTTEMPLTYPE = "tpl110001";// 模板类型问题id
    public static final String QUESTION_ID_FOR_GROWTHDEV_WEIGHT = "bd5ea280282";// 生长发育题型：体重id(kg)
    public static final String QUESTION_ID_FOR_GROWTHDEV_HEIGHT = "bd5eb230284";// 生长发育题型：身长id(cm)
    public static final String QUESTION_ID_FOR_GROWTHDEV_HEADCIRCUM = "bd5ec1d0286";// 生长发育题型：头围id(cm)
    public static final String QUESTION_ID_FOR_PREGNANCYWEEK = "Pub1100110";// 孕周问题id

    public static final String[] QUESTION_ID_ARRAY_FOR_PT_USER_INFO = { QUESTION_ID_FOR_PHONENO,
            QUESTION_ID_FOR_PATIENTNAME, QUESTION_ID_FOR_GENDER, QUESTION_ID_FOR_BIRTHDAY, QUESTION_ID_FOR_EXPECTEDDAY,
            QUESTION_ID_FOR_PREGNANCYDAY };// 患者基本信息对应问题id

    public static final String QUESTION_ID_FOR_WEIGHT = "Pub2200001";// 出生体重
    public static final String QUESTION_ID_FOR_DELIVERY = "Pub12x00007";// 分娩住院号
    public static final String QUESTION_ID_FOR_OUTPATIENT = "341200007";// 门诊号
    public static final String QUESTION_ID_FOR_CARD1 = "Pub12x00008";// 社保卡号
    public static final String QUESTION_ID_FOR_CARD2 = "Pub2200008";// 自管卡号
    public static final String QUESTION_ID_FOR_JIUZHENG = "Pub2200002";// 自管卡号

    // BSID2（贝利2）查询建档信息展示
    public static final String QUESTION_ID_FOR_NFYYBIRTHWEIGHT = "nfyybirthweight";// 出生体重
    public static final String QUESTION_ID_FOR_NFYYFEEDWAY = "nfyyfeedway";// 喂养方式
    public static final String QUESTION_ID_FOR_NFYYPARITY = "nfyyParity";// 胎次
    public static final String QUESTION_ID_FOR_NFYYPRODUCTIONTIMES = "nfyyProductiontimes";// 产次

    // 问卷中性别转换
    public static final String GENDER_FOR_MALE = "N";
    public static final String GENDER_ALIAS_FOR_MALE = "男";
    public static final String GENDER_FOR_FEMALE = "F";
    public static final String GENDER_ALIAS_FOR_FEMALE = "女";

    // 问卷权限类型
    public static final String QUESTION_TYPE_PRIVATE = "0";// 个人私有问卷模板
    public static final String QUESTION_TYPE_TENANT = "1";// 租户私有问卷模板
    public static final String QUESTION_TYPE_PUBLIC = "2";// 公共问卷模板

    // 问卷业务类型
    public static final String QUESTIONNAIRE_TYPE_0 = "0";// 0：门诊问卷
    public static final String QUESTIONNAIRE_TYPE_1 = "1";// 1：线上问卷
    // public static final String QUESTIONNAIRE_TYPE_2 = "2";// 2：随访提醒
    public static final String QUESTIONNAIRE_TYPE_3 = "3";// 3：用药
    public static final String QUESTIONNAIRE_TYPE_4 = "4";// 4：随访评测
    // public static final String QUESTIONNAIRE_TYPE_5 = "5";// 5：随访指导
    public static final String QUESTIONNAIRE_TYPE_6 = "6";// 6：家庭监测
    // public static final String QUESTIONNAIRE_TYPE_7 = "7";// 7：宣教
    public static final String QUESTIONNAIRE_TYPE_8 = "8";// 8：线上主诉登记（体检登记）

    // 队列id
    public static final String ID_FOR_OFFICE = "1";// 科室
    public static final String ID_FOR_QUEUE = "2";// 队列

    /**
     * 公众账号ID
     */
    public static String appid = "wx32d3aad2bc8fa216";
    // public static String appid = "wx83144d9f4abbb45d";//测试

    /**
     * 
     */
    public static String appsecret = "7d163fcdcf9fac22e77ec0795e8c9a86";
    // public static String appsecret = "0a334028fec3c14b3d1f95e613a555c8";//测试

    // 权限系统中的租户类型：1、科室，2、医院，3、多中心，4、医联体
    public static final int TENANT_GROUP_TYPE_FOR_DEPT = 1;
    public static final int TENANT_GROUP_TYPE_FOR_HOSPITAL = 2;
    public static final int TENANT_GROUP_TYPE_FOR_MULCENTER = 3;
    public static final int TENANT_GROUP_TYPE_FOR_UNION = 4;

    // 生长发育问题moduleId
    public static final String QUESTION_MODULE_ID_GROWTH = "40288abe5167faf201516801bc780000";
    public static final String WHO_STANDARD_ID = "00003"; // WHO 2013数据

    public static final String WHO_STANDARD_TYPE_SCORE = "00003"; // 生长发育得分
    public static final String WHO_STANDARD_TYPE_PERCENT = "00002"; // 生长发育百分位

    public static final String FENTON_STANDARD_TYPE_SCORE = "F0003"; // FENTON得分
    public static final String FENTON_STANDARD_TYPE_PERCENT = "F0002"; // FENTON百分位

    public static final String NUMBER_TYPE_FIVE_CURVES = "5";// 返回5条曲线
    public static final String NUMBER_TYPE_SEVEN_CURVES = "7";// 返回7条曲线
    public static final String NUMBER_TYPE_NINE_CURVES = "9";// 返回9条曲线

    public static final String DEVELOPPROJECT_HEAD = "00003"; // 头围
    public static final String DEVELOPPROJECT_LENGTH = "00002"; // 身高
    public static final String DEVELOPPROJECT_WEIGHT = "00001"; // 体重
    public static final String DEVELOPPROJECT_LENGTHFORWEIGHT = "00004"; // 身长别体重
    public static final String DEVELOPPROJECT_AGEFORWH = "00005";// MBI

    // ALberta百分位曲线
    public static final String AIMS_STANDARD_TYPE_PERCENT = "00001"; // AIMS百分位
    public static final String AIMS_DEVELOPPROJECT_SCORE = "00001"; // AIMS得分
    public static final String AIMS_STANDARD_ID = "00001"; // 默认 年份数据

    // 科室排班类型：1按周排班，2按月排班，3按具体日期排班
    public static final String DEPT_OUTPATIENT_SCHEDULE_WEEKLY = "1";
    public static final String DEPT_OUTPATIENT_SCHEDULE_MONTHLY = "2";
    public static final String DEPT_OUTPATIENT_SCHEDULE_DATE = "3";

    public static final String[] timeOfDay = { "上午", "下午", "晚上" };// 按一天上下午及晚上排班，则用0，1，2分别表示上午、下午和晚上
    public static final String[] dayOfWeek = { "星期日", "星期一", "星期二", "星期三", "星期四", "星期五", "星期六" };// 按周排班，则用0-6表示周日到周六

    public static final String PATIENTTYPE_BABY = "B";// 宝宝建档
    public static final String PATIENTTYPE_WOMEN = "C";// 产妇建档
    public static final String PATIENTTYPE_OTHER = "Q";// 其他建档

    public static final String PARTURIENT_CHILDBIRTH_YES = "1"; // 已分娩
    public static final String PARTURIENT_CHILDBIRTH_NO = "2"; // 未分娩

    public static final String DEPARTMENT_DEFAULT_QUEUE_STATUS = "1"; // 科室默认队列

    public static final String SMS_TEMPLATE_REGISTER_TYPE = "ZCDX";

    public static final String EDUCATION_STATUS_STOP = "2";
    public static final String EDUCATION_STATUS_ENABLE = "1";

    // 随访提醒方式： 1:app提醒 2:短信提醒 3:邮件提醒 4:微信提醒
    public static final String FU_INFORM_RULE_TYPE_APP = "1";
    public static final String FU_INFORM_RULE_TYPE_SMS = "2";
    public static final String FU_INFORM_RULE_TYPE_MAIL = "3";
    public static final String FU_INFORM_RULE_TYPE_WECHAT = "4";

    // 随访提醒规则短信最大发送次数
    public static final int FU_INFORM_RULE_SMS_SEND_TIME_INFINITE = -1;// -1表示一个任务发送的提醒短信次数不限制
    public static final String FU_INFORM_RULE_SMS_SEND_RULE_TYPE_WIN = "0";// 按窗口期任务发送
    public static final String FU_INFORM_RULE_SMS_SEND_RULE_TYPE_AGE = "1";// 按年龄阶段发送
    public static final String FU_INFORM_RULE_SMS_SEND_RULE_TYPE_FOLLOWUP = "2";// 按随访时间发送

    // 随访提醒时间间隔
    public static final int ONE_DAY_HOUR = 24;// 1天==24小时
    public static final int ONE_HOUR_MINUTE = 60;// 1小时==60分钟
    public static final float FU_INFORM_TIME_INTERVAL_HALF_HOUR = 30;// 半小时，30分钟
    public static final float FU_INFORM_TIME_INTERVAL_ONE_HOUR = 60;// 1小时，60分钟

    // 通用表模型记录是否有效标志位
    public static final String TABLE_RECORD_STATUS_NOMAL = "1";
    public static final String TABLE_RECORD_STATUS_INVALID = "0";

    // 短信模板中随访时间和随访地址变量
    public static final String PT_SMS_VAR_FOLLOW_TIME = "\\$\\{followTime\\}";
    public static final String PT_SMS_VAR_FOLLOW_ADDRESS = "\\$\\{followAddress\\}";

    // 随访提醒发送状态
    public static final String PT_INFORM_SMS_STATUS_SUCCESS = "1";// 1 成功
    public static final String PT_INFORM_SMS_STATUS_FAILED = "2";// 2 失败

    // 外部接口服务类型
    public static final String SERVICE_TYPE_INFORM = "1";// 消息中间件
    public static final String SERVICE_TYPE_HSF = "2";// HSF类型服务
    public static final String SERVICE_TYPE_ESB = "3";// ESB类服务
    public static final String SERVICE_TYPE_APP = "4";// APP类服务
    public static final String SERVICE_TYPE_ESBWSDL = "5";// ESB类服务

    // 外部接口服务名
    public static final String SERVICE_NAME_FOR_SMSSEND = "sendSms";// 短信接口服务名
    public static final String SERVICE_NAME_FOR_SERVICE = "callEsbService";// 调用esb服务名

    // 失访原因类型
    public static final String LOST_REASON_TYPE_PRIVATE = "0";// 个人私有
    public static final String LOST_REASON_TYPE_TENANT = "1";// 租户私有
    public static final String LOST_REASON_TYPE_PUBLIC = "2";// 公共

    // 默认分页配置
    public static final int APP_PAGE_FOR_INIT = 1;// 默认查询第1页
    public static final int APP_ROWS_FOR_INIT = 20;// 默认查询前20条

    // 操作类型
    public static final String HANDLE_TYPE_CHANGE = "0";// 修改
    public static final String HANDLE_TYPE_ADD = "1";// 新增
    public static final String HANDLE_TYPE_DELETE = "2";// 删除

    // 宣教推送规则
    public static final String EDUCATION_PUSH_TYPE_GLOBAL = "01";
    public static final String EDUCATION_PUSH_TYPE_CORRECT_AGE = "02";
    public static final String EDUCATION_PUSH_TYPE_AGE = "03";
    public static final String EDUCATION_PUSH_TYPE_RAND = "04";
    public static final String EDUCATION_PUSH_TYPE_REGISTER = "05";

    // 字符串匹配
    public static final String STRING_USERPASSWORD_GFY = "USERPASSWORD";// 用户密码
    public static final String STRING_CREATETIMEINFO_GFY = "CREATETIMEINFO";// 时间
    public static final String STRING_SIGNINPUT_GFY = "SIGNINPUT";// 签名
    public static final String STRING_CHARACTER_GFY = "SERVICELOGIC";// 签名
    public static final String STRING_SERVICECODE_GFY = "SERVICECODEINFO";// 签名
    public static final String STRING_APPCODEINFO_GFY = "APPCODEINFO";// 签名

    // 调用远程接口code --卡查询接口和主诉登记接口、校验接口
    public static final String STRING_SERVICECODE_A09U001O = "A09U001O";// 国妇婴项目校验用户接口
    public static final String STRING_SERVICECODE_A09U002O = "A09U002O";// 用户新增接口
    public static final String STRING_SERVICECODE_A09U003O = "A09U003O";// 卡信息查询接口
    // 调用远程接口code --国妇婴预约通用接口
    public static final String STRING_SERVICECODE_A02Y002O = "A02Y002O";// 获取预约资源模板
    public static final String STRING_SERVICECODE_A02Y003O = "A02Y003O";// 提交预约
    public static final String STRING_SERVICECODE_A02Y004O = "A02Y004O";// 取消预约
    public static final String STRING_SERVICECODE_A02Y007O = "A02Y007O";// 获取预约科室列表
    public static final String STRING_SERVICECODE_A02Y008O = "A02Y008O";// 获取预约专家信息
    public static final String STRING_SERVICECODE_A09U004O = "A09U004O";// 获取儿保门诊推送事项患者清单
    public static final String STRING_SERVICECODE_A09U005O = "A09U005O";// 获取儿保门诊指导意见列表
    public static final String STRING_SERVICECODE_A09U006O = "A09U006O";// 获取儿保门诊指导意见详情

    public static final String SERVICE_NAME_FOR_EXTEND = "alternateNo";// 备用手机号

    //
    public static final String STRING_0035EBSYUE_KEY = "0.WS.0035EBSYUE";// 预约接口
    public static final String STRING_0034ERBSFD_KEY = "0.WS.0034ERBSFD";// 查卡接口

    // md5加密
    public static final int INTEGER_FORMD5_16 = 16;// 16位加密
    public static final int INTEGER_FORMD5_32 = 32;// 32位加密

    // hash code加密
    public static final String STRING_FORHASHCODE_256 = "SHA-256";
    public static final String STRING_FORHASHCODE_512 = "SHA-512";

    // 用户密码
    public static final String STRING_USERPASSWORD_INFO = "9LkvY&jBt.5";// 用户密码
    public static final String STRING_USERPASSWORD_ORDERINFO = "FHc9A%stR*7";// 用户密码

    // 异常类型：0系统异常，1应用异常
    public static final String PT_EXCP_TYPE_SYSTEM = "0";
    public static final String PT_EXCP_TYPE_APP = "1";

    // 分区表前缀
    public static final String TABLE_PARTITION_PRE = "p";

    // 字符串长度
    public static final int STRING_LEN_512 = 512;

    // 基本用户信息默认租户id=0
    public static final String PT_USER_INFO_DEFAULT_TENANT_ID = "0";

    // 随访评测类型
    // 小儿神经
    public static final String FOLLOW_EVALUATION_NEUR = "Neuropsychology";
    // 贝利筛选
    public static final String FOLLOW_EVALUATION_BAILEY = "BaileyScreening";
    // gesell
    public static final String FOLLOW_EVALUATION_GESELL = "Gesell";
    // 气质题目
    public static final String FOLLOW_EVALUATION_TEMP = "Temperament";
    // 韦氏智力
    public static final String FOLLOW_EVALUATION_WECHSLER = "Wechsler";
    public static final String FOLLOW_EVALUATION_SMALlWECHSLER = "SmallWechsler";
    public static final String FOLLOW_EVALUATION_BIGWECHSLER = "BigWechsler";
    // NBNA
    public static final String FOLLOW_EVALUATION_NBNA = "nbna";

    // 孕产妇评估问卷
    public static final String FOLLOW_EVALUATION_PREGNANT_KEY = "PREGNANT_POSITION";// redis
                                                                                    // key

    public static final String FOLLOW_EVALUATION_HIGH_PREGNANT = "HighriskPregnant";// redis
                                                                                    // filed
    // 抑郁自评表
    public static final String FOLLOW_EVALUATION_PREGNANT_SDS = "SDS";// redis
                                                                      // filed
    // 焦虑自评表
    public static final String FOLLOW_EVALUATION_PREGNANT_SAS = "SAS";// redis
                                                                      // filed
    // 爱丁堡产后抑郁
    public static final String FOLLOW_EVALUATION_PREGNANT_EPDS = "EPDS";// redis
                                                                        // filed
    // ALberta
    public static final String FOLLOW_EVALUATION_PREGNANT_AIMS = "AIMS";// redis

    // SDQ问卷
    public static final String FOLLOW_EVALUATION_PREGNANT_SDQ = "SDQ";// redis

    // 贝利3
    public static final String FOLLOW_EVALUATION_PREGNANT_BSID = "BSID";// redis
    // 接受性交流
    public static final String FOLLOW_EVALUATION_PREGNANT_BSID_RC = "BSID_RC";// redis
    // 表达性交流
    public static final String FOLLOW_EVALUATION_PREGNANT_BSID_EC = "BSID_EC";// redis
    // 精细运动
    public static final String FOLLOW_EVALUATION_PREGNANT_BSID_FM = "BSID_FM";// redis
    // 大运动
    public static final String FOLLOW_EVALUATION_PREGNANT_BSID_GM = "BSID_GM";// redis
    // 认知
    public static final String FOLLOW_EVALUATION_PREGNANT_BSID_COG = "BSID_COG";// redis
    // 发育商和发育龄
    public static final String FOLLOW_EVALUATION_PREGNANT_BSID_MIX = "BSID_MIX";// redis
    // 指导意见
    public static final String FOLLOW_EVALUATION_PREGNANT_BSID_GUIDE = "BSID_GUIDE";// redis
    // 答案
    public static final String FOLLOW_EVALUATION_PREGNANT_BSIDANSWER = "BSID_ANSWER";// redis

    // 贝利2
    public static final String FOLLOW_EVALUATION_PREGNANT_BSID2 = "BSID2";// redis
    public static final String FOLLOW_EVALUATION_PREGNANT_BSID2ANSWER = "BSID2_ANSWER";// redis
    public static final String FOLLOW_EVALUATION_PREGNANT_BSID2_PR = "BSID_PR";// redis
    public static final String FOLLOW_EVALUATION_PREGNANT_BSID2_MR = "BSID_MR";// redis
    public static final String FOLLOW_EVALUATION_PREGNANT_BSID2_ACTIVITY = "BSID_ACTIVITY";// redis

    // 评分标准
    public static final String FOLLOW_EVALUATION_BSID2_ANSWER_PR = "BSID_PR_ANSWER";// redis
                                                                                    // 运动
    public static final String FOLLOW_EVALUATION_BSID2_ANSWER_MR = "BSID_MR_ANSWER";// redis
                                                                                    // 智力
    // 发育登记
    public static final String FOLLOW_EVALUATION_BSID2_ANSWER_LEVEL = "BSID_LEVEL";// redis
    // 百分位
    public static final String FOLLOW_EVALUATION_BSID2_ANSWER_PERCENT = "BSID_PERCENT";// redis

    // PEABODY问卷
    public static final String FOLLOW_EVALUATION_PREGNANT_PEABODY = "PEABODY";// redis
    public static final String FOLLOW_EVALUATION_PREGNANT_PEABODY_1 = "PEABODY_1";// redis
    public static final String FOLLOW_EVALUATION_PREGNANT_PEABODY_2 = "PEABODY_2";// redis
    public static final String FOLLOW_EVALUATION_PREGNANT_PEABODY_3 = "PEABODY_3";// redis
    public static final String FOLLOW_EVALUATION_PREGNANT_PEABODY_4 = "PEABODY_4";// redis
    public static final String FOLLOW_EVALUATION_PREGNANT_PEABODY_5 = "PEABODY_5";// redis
    public static final String FOLLOW_EVALUATION_PREGNANT_PEABODY_6 = "PEABODY_6";// redis

    // 评分标准
    public static final String FOLLOW_EVALUATION_PEABODY_ANSWER_ALL = "PEABODY_ANSWER_";// redis
    // 相当年龄
    public static final String FOLLOW_EVALUATION_PEABODY_ANSWER_AGE = "PEABODY_ANSWER_AGE";// redis
    // 商计算
    public static final String FOLLOW_EVALUATION_PEABODY_ANSWER_DISCUSS = "PEABODY_ANSWER_DISCUSS";// redis

    // 养育环境
    public static final String FOLLOW_EVALUATION_PREGNANT_AHEMD = "AHEMD-IS";// redis
    // 只能发育
    public static final String FOLLOW_EVALUATION_PREGNANT_ASQ = "ASQ";// redis
    public static final String FOLLOW_EVALUATION_PREGNANT_GROWTH = "SZFY";// redis

    public static final String SOURCE_TYPE_FOLLOW = "04";// 评估
    public static final String SOURCE_TYPE_APP = "01";//
    public static final String SOURCE_TYPE_WECHAT = "03"; // 微信评估
    public static final String SOURCE_TYPE_FOLLOW_TEST = "02";

    public static final String SOURCE_TYPE_LH_WECHAT = "05";

    // 国妇婴 平台代码
    public static final String SOURCE_TPLATFORM_CODE = "19";// 儿保app
    public static final String SOURCE_HOSPTAL_CODE = "19";// 儿保app
    public static final String SOURCE_ACCESS_CODE = "FGUh%bce29Okz5d74*aT";// 儿保app
    public static final String SOURCE_ACCESS_PUCHCODE = "zdyj";// 儿保app指导意见

    // 安医大项目特殊标记
    public static final String HOSPITAL_FOR_AYD_NAME = "ayd";
    public static final String QRY_BASIC_USER_INFO_TYPE = "0001";// 查询患者基本信息
    public static final String PT_BIO_SAMPLE_PARAM_CODE_AYD = "bioSample";// 安医大样本采集类型
    public static final String TENANT_ID_FOR_AYD_MAS = "ayd001";// 安医大租户id

    // 国妇婴主诉登记
    public static final String GFY_ZHUSU_BIND = "bind";// 绑卡标识
    public static final String GFY_ZHUSU_NO = "no";// 查询标示
    public static final String GFY_ZHUSU_UNBIND = "unbind";// 解绑标示

    // 卡类型
    public static final String GFY_ZHUSU_CARDNAME = "就诊卡";// 解绑标示

    // 通用扫码建档队列
    public static final String GFY_ZHUSU_QUEUEWOMEN = "12SMJD000000001";// 产妇队列
    public static final String GFY_ZHUSU_QUEUEBABY = "12SMJD000000002";// 宝宝队列

    public static final String GROWTH_SCORE_ZSCORE = "02";// 查询z曲线
    public static final String GROWTH_SCORE_PERCENT = "01";// 查询百分位曲线

    public static final String GROWTH_AGE_TYPE_CORRECT = "01";// 纠正年龄
    public static final String GROWTH_AGE_TYPE_ACTUAL = "02";// 实际年龄

    public static final String FENTON_CURVEDATA_LINES = "02";// fenton曲线
    public static final String GROWTH_CURVEDATA_LINES = "01";// growth who曲线

    public static final String STRING_UPDATE_STAYUS = "01";// 更新任务状态
    public static final String STRING_UPDATE_EXECUTE = "02";// 更新任务时间

    public static final String COMMON_STATUS_NOMAL = "1";// 公用状态正常
    public static final String COMMON_STATUS_DELETE = "0";// 公用状态失效
    public static final String COMMON_STATUS_DRAFT = "5";// 公用草稿状态

    public static final String COMMON_STATUS_SUSPEND = "3";// 暂停
    public static final String COMMON_STATUS_STOP = "4"; // 终止
    public static final String COMMON_STATUS_ENABLE = "2"; // 阶段 、疗程启用

    public static final String SMS_STATUS_SEND_READY = "0";// 待发送

    // 默认疗程天数
    public static final int COURSE_DEFAULT_DAYS = 7;
    // 修改饮食情况接口
    public static final String NUTRIENTS_SITUATION_DOCTOR_DEFAULT = "1"; // 医生安排饮食量
                                                                         // 修改
    public static final String NUTRIENTS_SITUATION_DOCTOR_SIGN = "2"; // 医生帮用户登记
                                                                      // 实际使用量
    public static final String NUTRIENTS_SITUATION_USER_APPLY = "3"; // 医生帮用户登记
                                                                     // 实际使用量

    // 营养方案key 保存最新版本
    public static final String NUTRITION_SCHEME_KEY = "NUTRITION:SCHEME:";
    // 营养方案版本 key
    public static final String NUTRITION_SCHEME_VERSION_KEY = "NUTRITION:SCHEME_VERSION:";
    // 营养阶段 key
    public static final String NUTRITION_STAGE_KEY = "NUTRITION:STAGE:";
    // 营养疗程key
    public static final String NUTRITION_COURSE_KEY = "NUTRITION:COURSE:";
    // 营养疗程版本KEY
    public static final String NUTRITION_COURSE_VERSION_KEY = "NUTRITION:COURSE_VERSION:";
    // 亲社会行为
    public static final String SDQ_FACTOR_TYPE_PROSOCIAL = "Prosocial";
    // 多动
    public static final String SDQ_FACTOR_TYPE_MBD = "MBD";
    // 情绪症状
    public static final String SDQ_FACTOR_TYPE_EMOTIONAL = "Emotional";
    // 品行问题
    public static final String SDQ_FACTOR_TYPE_CONDUCT = "Conduct";
    // 同伴交往
    public static final String SDQ_FACTOR_TYPE_COMPANION = "Companion";
    // 困难影响因子
    public static final String SDQ_FACTOR_TYPE_DIFFICULT = "Difficult";
    // 问卷题型
    public static final String EVALUATION_QUESTION_ANSWER_OPTION_RADIO = "Radio";// 单选
    public static final String EVALUATION_QUESTION_ANSWER_OPTION_TEXT = "Text";// 文本

    // 活动空间
    public static final String AHEMD_TYPE_ACTIVITY_SPACE = "ActivitySpace";
    // 活动多样性
    public static final String AHEMD_TYPE_ACTIVITY_DIVERSITY = "ActivityDiversity";
    // 粗大运动玩具
    public static final String AHEMD_TYPE_HEAVY_SPORT_TOYS = "HeavySportsToys";
    // 精细运动玩具
    public static final String AHEMD_TYPE_FINE_SPORT_TOYS = "FineSportsToys";

    // 沟通
    public static final String ASQ_TYPE_COMMUNICATE = "Communicate";
    // 粗大动作
    public static final String ASQ_TYPE_BIG_ACTION = "BigAction";
    // 精细动作
    public static final String ASQ_TYPE_FINE_ACTION = "FineAction";
    // 解决问题
    public static final String ASQ_TYPE_SOLVE_PROBLEM = "SolveProblem";
    // 个人社会
    public static final String ASQ_TYPE_PERSON_SOCIAL = "PersonSocial";

    public static final String QUEUE_PATIENT_REGISTER_NOT_SEND_SMS = "1";// 队列下用户注册
                                                                         // 不发送短信标识

    public static final String PATIENT_SOURSE_TYPE_LEHUI = "lovely";// 乐慧渠道

    public static final String COMMON_TYPE_PRIVATE = "0";// 个人私有队列
    public static final String COMMON_TYPE_TENANT = "1";// 租户私有队列
    public static final String COMMON_TYPE_PUBLIC = "2";// 公共队列

    // 乐慧token 缓存key
    public static final String ACCESS_TOKEN_LEHUI = "ACCESS_TOKEN_LEHUI";
    // token 设置 一小时过期 单位秒
    public static final int ACCESS_TOKEN_EXPIRE_TIME = 7000;

    public static final String ACCESS_TOKEN_URL = "https://api.weixin.qq.com/cgi-bin/token?grant_type=client_credential&appid=";
    public static final String GET_USER_URL = "https://api.weixin.qq.com/cgi-bin/user/info?access_token=";
    public static final String GET_OPENID_CODE = "https://api.weixin.qq.com/sns/oauth2/access_token?appid=";

    public static final String QUEUE_USER_TYPE_BABY = "0"; // 宝宝
    public static final String QUEUE_USER_TYPE_PARTURIENT = "1";// 产妇

    public static final String EVLATATION_WORKORDER_STATUS_INIT = "01";// 初始状态
    public static final String EVLATATION_WORKORDER_STATUS_DO = "02";// 评估提交
    public static final String EVLATATION_WORKORDER_STATUS_SENDTODOCTOR = "03";// 待医生确认
    public static final String EVLATATION_WORKORDER_STATUS_DOCTORCONFIRM = "04";// 医生确认
    public static final String EVLATATION_WORKORDER_STATUS_SENDUSER = "05";// 发送用户
    public static final String EVLATATION_WORKORDER_STATUS_COMPLETE = "06";// 完成

    public static final String EVLATATION_QUEUE_ID_1 = "12WXPG0000000001";// 完成
    public static final String EVLATATION_QUEUE_ID_2 = "12WXPG0000000002";// 完成

    // utf-8
    public final static String UTF8 = "UTF-8";
    // GBK
    public final static String GBK = "GBK";
    // ISO
    public final static String ISO = "ISO-8859-1";
    // 微信令牌
    public static final String TOKEN = "weixin";

    // 账号登录session过期时间，单位秒
    public static final int ACCOUNT_LOGIN_SESSION_TIMEOUT = 3600;
    // 文件访问过期时间
    public static final int FILE_ACCESS_AUTHORITY_TIMEOUT = 3600;

    // 入参校通用错误信息
    public static final String API_INPUT_PARAMS_FORMAT_ERROR = "入参格式校验失败";
    public static final String API_INPUT_PARAMS_DATA_ERROR = "入参信息校验失败";

    // 登录session-key
    public static final String SESSION_ACCOUNT_KEY = "oms_account";

    // 文件上传类型
    public static final String FILE_UPLOAD_TYPE_FOR_BACKGROUND_PROGRAM = "00";// 00小程序自动上传
    public static final String FILE_UPLOAD_TYPE_FOR_MANUAL = "01";// 01医生手动上传
    public static final String FILE_UPLOAD_TYPE_FOR_CLIP = "02";// 02医生裁剪后上传
    public static final String FILE_UPLOAD_TYPE_FOR_USER = "03";// 03用户手动上传

    // 文件上传设备标志类型
    public static final String FILE_UPLOAD_EQUIP_TYPE_FOR_REAL = "1";// 医院具体设备
    public static final String FILE_UPLOAD_EQUIP_TYPE_FOR_VIRTUAL = "2";// 无具体设备，手动上传的虚拟设备(问卷中配置)

    // 虚拟设备类型
    public static final String CLASS_ID_FOR_VIRTUAL_EQUIP_MANUAL = "virtualClassManual";// 本地手动上传
    public static final String CLASS_ID_FOR_VIRTUAL_EQUIP_PHOTOGRAPH = "virtualClassPhoto";// 拍照手动上传

    // 虚拟设备对应的虚拟小程序id
    public static final String PROGRAM_ID_FOR_VIRTUAL_EQUIP_MANUAL = "virtualProgramManual";// 本地手动上传
    public static final String PROGRAM_ID_FOR_VIRTUAL_EQUIP_PHOTOGRAPH = "virtualProgramPhoto";// 拍照手动上传

    // 影像文件上传基础路径配置的变量id
    public static final String FILE_UPLOAD_FOR_IMG_BASIC_PATH_ID_NAME = "imgFilePath";

    // 常用类型定义
    public static final int COMMON_TYPE_FOR_STRING = 1;// String
    public static final int COMMON_TYPE_FOR_INTEGER = 2;// Integer

    // 校验规则定义
    public static final int CHECK_TYPE_FOR_NOTNULL = 1;// 非空校验
    public static final int CHECK_TYPE_FOR_NOTNULL_AND_GEZERO = 2;// 非空且大于等于0

    // 影像文件规则类型
    public static final String IMG_FILE_RULE_TYPE_FOR_FILENAME = "00";// 文件名规则
    public static final String IMG_FILE_RULE_TYPE_FOR_FILEPATH = "01";// 文件路径规则

    // 影像标记模板类型：0全文件标记，1矩形，2椭圆，3角度
    public static final String IMG_FILE_MARK_TEMPL_TYPE_FOR_FILE = "0";
    public static final String IMG_FILE_MARK_TEMPL_TYPE_FOR_RECTANGLE = "1";
    public static final String IMG_FILE_MARK_TEMPL_TYPE_FOR_OVAL = "2";
    public static final String IMG_FILE_MARK_TEMPL_TYPE_FOR_ANGLE = "3";

    // 影像文件旋转默认角度
    public static final Integer IMG_FILE_DEFAULT_ROTATION_ANGLE = 0;

    // 文件存放地址前缀
    public static final String IMG_FILE_HTTP_HEAD = "http://";
    //南方医院上传文件
    public static final String DEFAULT_GROUP_NFFY_CLASSID = "nfyyClassId";
    public static final String DEFAULT_GROUP_NFFY_EQUIPID = "nfyyEquipId";
}
